<script language="javascript">
	var ctime;
	function showprogress() {ldelim}
		progress = new Poat({ldelim}width: 100,top: 0,recenterAuto: true{rdelim});
		progress.name = "progress_indicator";
		progress.info("{$lang.working}");
		ctime = setTimeout(stillLoading,5000);
	{rdelim}

	function stillLoading() {ldelim}
		progress = Windows.getWindow("progress_indicator");
		if (progress!=undefined) {ldelim}
			progress.setTitle("{$lang.stillworking}");
			progress.setSize(150, progress.getSize().height);
		{rdelim}
	{rdelim}	
	
	function closeprogress() {ldelim}
		clearTimeout(ctime);
		WindowControl.destroy("progress_indicator");
	{rdelim}
</script>